import request from "@/utils/request";

// 获取文件信息
export const getSimpleFileInfo = (data) => {
  return request({
    url: "/biz/file/getSimpleFileInfo",
    method: "post",
    data: data,
  });
};

// 文件下载预览
export const queryFiles = (params) => {
  return request({
    url: "/biz/file/get",
    method: "get",
    params,
    responseType: "blob",
  });
};
